<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>0022 - Disclosure - 16. Commitments and Contingencies</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>From2011-07-01to2012-06-30</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001020477</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2011-07-01T00:00:00</PeriodStartDate><PeriodEndDate>2012-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="12 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2012" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>ROBK_NotesToFinancialStatementsAbstract</ElementName><ElementPrefix>ROBK_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Notes to Financial Statements</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>us-gaap_CommitmentsAndContingenciesDisclosureTextBlock</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="From2011-07-01to2012-06-30" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;The Company has guaranteed certain notes payable of RBL in
the amount to $250,000. (Note 9)&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On March 15, 2011, and April 16, 2012, the Company entered
into non-exclusive agreements with an investment banker, financial advisor and consultant.&amp;#160;&amp;#160;The agreements each become
exclusive for 14 days following execution and then non-exclusive for a term of six months.&amp;#160;&amp;#160;The Company a agreed to pay
to the investment banker a cash placement fee of 8% of the total purchase price of the Company&amp;#146;s securities sold, adjusted
by the exercise of any investor warrants, in connection with a placement resulting from the investment banker&amp;#146;s introduction.&amp;#160;&amp;#160;In
addition, the banker shall receive warrants to purchase common shares of the Company equal to 8% of the funds raised, as defined.&amp;#160;&amp;#160;If
the investment banker introduces the Company during the term to a transaction which becomes a merger, acquisition, joint venture
or&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;similar transaction, the Company shall pay the banker a fee
in combination of stock and cash that reflects the exact percentage of stock and or cash used for the transaction, as defined.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Financing Agreement&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On August 31, 2010, the Company entered into an agreement
to engage Citadel Securities, LLC (Citadel) as its non-exclusive financial advisor to provide certain financial advisory services
in connection with the financing of its Gulfport, Mississippi casino development project.&amp;#160;&amp;#160;The Company will pay fees
to Citadel, as follows:&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#9679;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;4.00%
of the gross proceeds of any equity financing received by the Company or its affiliates in connection with the development project
introduced to the Company by Citadel;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#9679;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3.00%
of the gross proceeds of any debt financing received by the Company or its affiliates in connection with the development project
introduced to the Company by Citadel;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#9679;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.00%
of the gross proceeds of any equity or debt financing received by the Company or its affiliates in connection with the development
project introduced to Citadel by the Company as not defined by the agreement;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#9679;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1.00%
of the gross proceeds of any equity financing received by the Company or its affiliates in connection with the development project
introduced to Citadel by the Company as defined by the agreement.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On August 31, 2011, the Company agreed to an assignment of
this engagement to Wells Fargo Securities, LLC.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Litigation&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On October 25, 2010, a Complaint was filed in the United States
District Court for the Western District of Michigan by The Sandesh Limited, a company incorporated in the Republic of India, against
the Company, RBL and a former employee. The Plaintiff alleges that as a condition to their purchase of 1,200,000 shares of the
common stock of the Company, the Plaintiff had the right to require the Defendants to repurchase all or any portion of the shares.
Plaintiffs also allege that a subsequent agreement was entered into with RBL, whereby RBL would purchase the Plaintiff&amp;#146;s
1,200,000 shares of common stock.&amp;#160;&amp;#160;Plaintiff further alleges that this repurchase also did not occur and that the Defendants
breached other terms of the agreements. Plaintiffs are seeking the return of $1,200,000 and additional unspecified amounts as compensatory,
actual and punitive and/or exemplary damages, restitution for unjust enrichment, prejudgment interest, attorney&amp;#146;s fees and
costs and other relief as the court deems appropriate.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On November 23, 2011, a settlement agreement was entered into
dismissing the litigation and ordering that RBL pay Sandesh $1,500,000 as settlement, in payments of $35,000, per month, as defined,
with interest at 8%, per annum. Sandesh is holding 480,000 common shares of the Company&amp;#146;s stock owned by RBL as collateral
and is entitled to receive 350 units of RBMS from RBI.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On February 23, 2010, a Complaint was filed in the Third Judicial
District Court of the State of Nevada in and For the County of Lyon against the Company, RBL, and others in the amount of $5,000,000
pursuant to the termination of a development agreement for the Dayton Project.&amp;#160;&amp;#160;On July 16, 2010, the Company and Defendants
filed an answer and counterclaim. A default Judgment was filed in the Third Judicial District Court of the State of Nevada In and
For the County of Lyon on August 8, 2011 against the Company, Rotate Black, LLC, two officers of the Company, and others in the
amount of $9,674,057 for exemplary and punitive damages.&amp;#160;&amp;#160;&amp;#160;&amp;#160;In connection with this matter, a Request for Enrollment
of Foreign Judgment was filed in the Circuit Court of Harrison County, Mississippi, First Judicial District on December 23, 2011.&amp;#160;&amp;#160;On
June 6, 2012, the Company filed a Motion for Leave to Seek District Court&amp;#146;s Correction of Clerical Error Appearing on the
Face of the Judgment, Subject Matter of Current Appeal in the Supreme Court of the State of Nevada.&amp;#160;&amp;#160;On June 7, 2012
the company was notified that its appeals to the default judgment will be heard by the Nevada Supreme Court. The Company will vigorously
defend this action but can provide no assurance as to the likelihood of the outcome of the matter.&lt;/p&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>The entire disclosure for commitments and contingencies.</ElementDefenition><ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 210

 -SubTopic 10

 -Section S99

 -Paragraph 1

 -Subparagraph (SX 210.5-02.25)

 -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682



Reference 2: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 825

 -SubTopic 20

 -Section 50

 -Paragraph 1

 -URI http://asc.fasb.org/extlink&amp;oid=6449706&amp;loc=d3e16207-108621



Reference 3: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 460

 -SubTopic 10

 -Section 50

 -Paragraph 8

 -URI http://asc.fasb.org/extlink&amp;oid=6398077&amp;loc=d3e12565-110249



Reference 4: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 450

 -SubTopic 20

 -Section 50

 -Paragraph 4

 -URI http://asc.fasb.org/extlink&amp;oid=25496072&amp;loc=d3e14435-108349



Reference 5: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 440

 -SubTopic 10

 -Section 50

 -Paragraph 2

 -URI http://asc.fasb.org/extlink&amp;oid=6394976&amp;loc=d3e25287-109308



</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>16. Commitments and Contingencies</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>16. Commitments and Contingencies</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://rotateblack.com/role/CommitmentsAndContingencies</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
