An AirBnB host who made a racist comment to an Asian guest has been fined $5,000 - and told she must attend a course on Asian-American studies.
Tami Barker cancelled Dyne Suh’s booking, telling her in a message: "One word says it all. Asian.”
The fine was imposed due to a new agreement between AirBnB and California’s Department of Fair Employment and Housing (DFEH).
It lets the DFEH examine hosts that have had discrimination complaints.
AirBnB is a service that allows members of the public to rent out spare rooms, or entire properties, to visitors.
The measures followed research and anecdotal evidence that suggested certain races found it more difficult to book rooms than others.
The fine and demand to attend a course, as well as community service with a civil rights organisation, marks the first time the landmark agreement has been used to punish an AirBnB host.
"The host walked into this mediation with an attitude of contribution,” Kevin Kish, director of the DFEH, told the BBC.
"That opened the door to a lot of creative thinking."
Ms Barker cancelled Ms Suh’s booking shortly before the 26-year-old was due to arrive at the location in Big Bear, California, the DFEH said.
In messages sent via the AirBnB app, Ms Barker said: "I wouldn’t rent it to u if u were the last person on earth.”
Later, she added: “I will not allow this country to be told what to do by foreigners” and “It’s why we have Trump”.
In a recording made just after the accommodation was cancelled, Ms Suh gave an emotional account of what had happened.
"It stings that after living in the US for over 23 years, this is what happens,” she said.
"No matter how well I treat others, it doesn’t matter. If you’re Asian, you’re less than human. People can treat you like trash.”
According to the Guardian, a lawyer for Ms Barker said she regretted her behaviour, and that the DFEH’s action will hopefully be a "positive outcome out of an unfortunate incident”.
Ms Suh got in touch with the DFEH to make a complaint. The department is now working with AirBnB to make it clearer to discriminated-against guests that there is a strong complaints procedure.
"Not everybody knows that we’re here,” the DFEH’s Mr Kish told the BBC.
"People don’t intuitively know where to turn. In the agreement that we reached with Airbnb, they will mandatorily provide guests with information about us.”
However, such close ties only currently exist in California, AirBnB’s home state, where regulators have been aggressive in clamping down on various issues that have arisen from the company’s growth.
"There’s nothing to prevent other states - or other countries - from reaching similar agreements. It’s going to create work for AirBnB, but I don’t think people create one of these platforms with the intent that people will discriminate. I think it can come as a surprise to some of these founders,” Mr Kish said.
He added that he was impressed with the way in which AirBnB was dealing with the issue "head on".
In an interview with the BBC last year, AirBnB co-founder Brian Chesky said: "We started this company with the belief people are fundamentally good.
"Mostly everyone is really good, but when you have 100 million people, there are some who don’t believe in what you believe in."
Follow Dave Lee on Twitter @DaveLeeBBC
You can reach Dave securely through encrypted messaging app Signal on: +1 (628) 400-7370