<human>: Could you distill the essence of the text into 1-3 sentences?

So landlords are coming to my friend's  apartment in the morning for some alleged "emergency" to negate the 24 hour notice requirement. That's all we know that they will be here somewhere randomly between 9-5. Then the next day they've scheduled dogs to come in and sniff for bedbugs apparently. 

The neighboring unit did have some problems with a now evicted tenant which resulted in renovations done to that unit which flooded my friend's unit with giant cockroaches and such which we eventually managed to get rid of, but there's genuinely a bedbug problem present still to this day. The landlord demands that there is nothing on the floor and that their cat has to be out of the house for the entire day, among a handful of other preparation requests. Now the iffy thing that might be illegal based off my understanding of their rights as tenants is the landlord has forbidden access to their apartment for this day from 9-5 which adds complications as they don't have anywhere to go with their little indoor kitty and they're already on the hook missing a day's wages at work so they can stand outside with their cat for potentially several hours or more.

Are they allowed to deny access to the unit?

Rent has never been late, there are no symptoms of what the tenancy act deems an "emergency" for the first visit, and my friends are uneasy having strangers in the house with dogs sniffing around without having themselves or a representative present. It's hugely inconvenient to miss two days of work to accommodate two consecutive days of landlord visits. Aside from the bedbugs the only thing wrong with the unit is that the frequently reported heat has never worked in the unit in the three years they've been here so it gets stupidly cold in the winter, but you can hardly call that an emergency if they haven't acted in three years to fix it. My friends rely on the heat from the unit below them and beside them to stay at a survivable temperature.

I've discovered now that we can get the heat fixed ourselves and just deduct it from the rent as landlord simply too  neglectful to take action.
<bot>: main question is: does the landlord have the right to deny a tenant access to their apartment for the duration of a K9 bug sniffing unit rummaging through the apartment?