covid 19 – Car mask rules in Italy when living together during holiday

We are 5 people from Germany, living in 3 different households. During our holiday in Italy we will live together in one household.

There’s a rule in Italy that only 3 people from different households are allowed to ride inside the same car. Does this apply to us?